package edu.object_oriented.modify.demo1;

public class ModifyTest {

    public static void main(String[] args) {
        //匿名对象
        new Modify1();
        Modify1 modify1 = new Modify1();
        modify1.msg = "信息";
        modify1.s = "同包";
        modify1.age = 20;
//        modify1.sex = "男";
    }

}
